/**    
* @Title: CommonConfig.java  
* @Package com.kaver.sso.config   
* @author kaver   
* @date Jul 26, 2021 2:42:43 PM  
* @version V1.0  
* @copyright kaver 
*/
package com.kaver.sso.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import lombok.Data;

/**  
* @ClassName: CommonConfig  
* @Description: 配置
* @author roc  
* @date Jul 26, 2021 2:42:43 PM  
*    
*/
@Data
@Component
public class CommonConfig {
    /**
     * 用户密码错误最大失败次数
     * */
    @Value("${sso.maxLoginFailCount:10}")
    private Integer maxLoginFailCount;
    /**
     * 域名
     * */
    @Value("${sso.domain:kaver.net}")
    private String domain;
    /**
     * 
     * */
    @Value("${sso.groupId:1}")
    private Long groupId;
}
